{template 'common/header'}
{template 'plugin/login/web/navs'}
<div class="panel panel-default">
    <div class="panel-heading">
        欢迎使用QQ Connect SDK For PHP 2.0
    </div>
    <div class="panel-body">
        <form action="" method="post" class="form-horizontal" role="form" id="form1" >
            <div class="form-group">
                <label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">appid</label>
                <div class="col-sm-8 col-lg-9 col-xs-12">
                    <input type="email" name="appid" class="form-control" placeholder="请输入appid">
                    <p class="help-block"></p>
                </div>
            </div>

            <div class="form-group">
                <label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">appkey</label>
                <div class="col-sm-8 col-lg-9 col-xs-12">
                    <input type="email" name="appkey" class="form-control" placeholder="请输入appkey">
                    <p class="help-block"></p>
                </div>
            </div>

            <div class="form-group">
                <label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">callback</label>
                <div class="col-sm-8 col-lg-9 col-xs-12">
                    <input type="email" name="callback" class="form-control" placeholder="请输入callback">
                    <p class="help-block">example演示请填写到   example/oauth/callback.php</p>
                </div>
            </div>
            <?php
                $scope = array("get_user_info","add_share","list_album","add_album","upload_pic","add_topic","add_one_blog","add_weibo","check_page_fans","add_t","add_pic_t","del_t","get_repost_list","get_info","get_other_info","get_fanslist","get_idolist","add_idol","del_idol","get_tenpay_addr");
                $scopeArr = $scope;
            ?>
            <div class="form-group">
                <label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">callback</label>
                <div class="col-sm-8 col-lg-9 col-xs-12">
                    {loop $scopeArr $sco}
                    <label>
                        <input type="checkbox" name="scope[]" value="{$sco}">
                        {$sco}
                    </label>
                    {/loop}
                </div>
                <input type='button' value='全选' id="choiceAll"/>
            </div>

            <div class="form-group">
                <label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label"></label>
                <div class="col-sm-8 col-lg-9 col-xs-12">
                    <button type="submit" class="btn btn-success">提交</button>
                </div>
            </div>
        </form>
    </div>
</div>
{template 'common/footer'}